package pluginannotation.editors;

import org.eclipse.jface.text.rules.*;

public class Feature extends RuleBasedPartitionScanner {
	public final static String FEATURE_CONTENT = "__xml_comment";

	public Feature() {

		IToken featureContent = new Token(FEATURE_CONTENT);

		IPredicateRule[] rules = new IPredicateRule[3];

		rules[0] = new SingleLineRule("@Feature", "", featureContent) /*new TesteRuel();*/ /*new MultiLineRule("@Feature", ";", xmlComment)*/;
		rules[1] = new SingleLineRule("/** #Feature", "", featureContent);
		rules[2] = new SingleLineRule("/** #endFeature", "", featureContent);

		setPredicateRules(rules);
	}
}
